﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WiFiAccessPointScanner
{
    [DataContract]
    public struct Position
    {
        [DataMember]
        public double X { get; set; }

        [DataMember]
        public double Y { get; set; }

        public override string ToString()
        {
            return string.Format("[ X: {0},   Y: {1} ]", X.ToString("0.00"), Y.ToString("0.00"));
        }
    }
}
